|
|
Hi all,
while experimenting with producing an alpha channel in output images I came
across what seems a bug (maybe related to that reported by John David
Haiducek in the thread "Alpha output"):
- text object are not antialiased against the background (they do against
other objects) using alpha output on and method 1
- text object are antialiased oddly against the background using alpha
output on and method 2
Environments:
Pov 3.5beta7, Win2000professional, Dual celeron 400 mhz, 320 Mb RAM
Pov 3.5beta7, Win98SE, PentiumIII 650mhz, 384 Mb RAM
Test scene:
#version 3.5
// try to render with:
// +UA +A0.1 +R3 +FN8
// +UA +A0.1 +AM2 +R3 +FN8
global_settings {
// assumed_gamma 1.0
max_trace_level 4
}
background { color rgb <1,1,1> }
// ----------------------------------------
camera {
orthographic
location <0,0,1>
look_at <0,0,0>
right 1*x
up 1*y
}
// ----------------------------------------
box {
<-0.5, 0, 0>, <0, 0.5, 0>
texture {
pigment {
checker color rgbt <.6,.5,.4,.2> color rgbt <.8,.9,1,.2>
}
finish {
ambient 1.0
diffuse 0.0
}
scale .25
}
}
box {
<0, 0, 0>, <0.5, 0.5, 0>
texture {
pigment {
checker color rgbf <.6,.5,.4,.2> color rgbf <.8,.9,1,.2>
}
finish {
ambient 1.0
diffuse 0.0
}
scale .25
}
}
box {
<-0.4, 0.35, -0.1>, <0.4, 0.45, -0.1>
texture {
pigment {
color red 1
}
finish {
ambient 1.0
diffuse 0.0
}
}
rotate 15*z
}
box {
<-0.4, 0.2, -0.1>, <0.4, 0.3, -0.1>
texture {
pigment {
color green 1
}
finish {
ambient 1.0
diffuse 0.0
}
}
rotate 15*z
}
box {
<-0.4, 0.05, -0.1>, <0.4, 0.15, -0.1>
texture {
pigment {
color blue 1
}
finish {
ambient 1.0
diffuse 0.0
}
}
rotate 15*z
}
text {
ttf
"Arial.ttf",
"POV-Ray",
1,
0
scale .2
translate <-.4,-.3,0>
texture {
pigment {
color rgb 0
}
finish {
ambient 1.0
diffuse 0.0
}
}
}
text {
ttf
"Arial.ttf",
"POV-Ray",
1,
0
scale .2
translate <-.2,-.06,0>
texture {
pigment {
color rgb 0
}
finish {
ambient 1.0
diffuse 0.0
}
}
}
Post a reply to this message
|
|